<?php
$this->breadcrumbs=array(
	'Transactions'=>array('index'),
	$model->trans_id,
);

?>

<h1>View Transaction : <?php echo $model->trans_id; ?></h1>


<div class='row'>

    <div class="col-md-3">
    </div>
    <div class="col-md-6">

        <table class="table table-hover">

            <tr>
                <td>Transaction status</td>
                <td><?php echo Transaction::getStatusName($model->trans_status); ?></td>
            </tr>
            <tr>
                <td>Transaction type</td>
                <td><?php echo Transaction::getTransTypeName($model->trans_type); ?></td>
            </tr>
            <tr>
                <td>Buyer</td>
                <td><?php echo Transaction::getUserName($model->buyer_id); ?></td>
            </tr>
            <tr>
                <td>Ideality</td>
                <td><?php echo Transaction::getIdealityName($model->ideality_id); ?></td>
            </tr>
            <tr>
                <td></td>
                <td><?php echo CHtml::button('Edit', array('submit' => array('/user/profile/edit'), 'class' => 'btn btn-primary')); ?></td>
            </tr>
        </table>
    </div>
    <div class="col-md-3">
    </div>

